﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="ChangePassword.aspx.cs"
    Inherits="CRMSystemV2.Web.Sys.ChangePassword" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script type="text/javascript">
        function customvalidPwd(element) {
            if ($(element).val() == "111111") return false;
            return true;
        }
    </script>
</head>
<body>
    <div class="pageContent">
        <form method="post" action="../CRMSystemService.asmx/ChangePassword"  class="pageForm required-validate"
        onsubmit="return validateCallback(this, dialogAjaxDone)">
        <div class="pageFormContent" layouth="58">
            <div class="unit">
                <label>
                    旧密码：</label>
                <input type="password" name="oldPassword" size="30" minlength="6" maxlength="20"
                    class="required" />
            </div>
            <div class="unit">
                <label>
                    新密码：</label>
                <input type="password" id="cp_newPassword" name="newPassword" customvalid="customvalidPwd(element)"
                    title="新密码不合规范" size="30" minlength="6" maxlength="20" class="required alphanumeric" />
            </div>
            <div class="unit">
                <label>
                    重复输入新密码：</label>
                <input type="password" name="rnewPassword" size="30" equalto="#cp_newPassword" class="required alphanumeric" />
            </div>
        </div>
        <div class="formBar">
            <ul>
                <li>
                    <div class="buttonActive">
                        <div class="buttonContent">
                            <button type="submit" id="btnSubmit">
                                提交</button></div>
                    </div>
                </li>
                <li>
                    <div class="button">
                        <div class="buttonContent">
                            <button type="button" class="close" id="btnCancel">
                                取消</button></div>
                    </div>
                </li>
            </ul>
        </div>
        </form>
    </div>
</body>
</html>
